﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ObjectTwo/User.Master" AutoEventWireup="true" CodeBehind="NewOrder.aspx.cs" Inherits="ProjectHK3.ObjectTwo.NewOrder" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="text-align: left">
        <table style="width:65%;" align="center">
            <tr>
                <td colspan="2" style="text-align: left">
                    <asp:Label ID="Label42" runat="server" Font-Bold="True" Font-Size="45pt" ForeColor="#FF6600" Text="๖ۣۜNew ๖ۣۜOrder"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: left">
                    <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="Order Information"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 185px; text-align: right">
                    <asp:Label ID="Label3" runat="server" Text="Order Number:"></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="TextBox1" runat="server" Width="240px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 185px; text-align: right">
                    <asp:Label ID="Label4" runat="server" Text="Is Internal Delivery :"></asp:Label>
                </td>
                <td style="text-align: left">
                    <asp:CheckBox ID="CheckBox1" runat="server" OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" />
                </td>
            </tr>
            <tr>
                <td style="width: 185px; text-align: right">
                    &nbsp;</td>
                <td style="text-align: left">&nbsp;</td>
            </tr>
            <tr>
                <td style="text-align: center" colspan="2">
                    <asp:Panel ID="Panel1" runat="server">
                        <table style="width:100%;">
                            <tr>
                                <td style="height: 41px; text-align: left;" colspan="2">
                                    <asp:Label ID="Label5" runat="server" Font-Bold="True" Text="Sender Information"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 185px; text-align: right">
                                    <asp:Label ID="Label6" runat="server" Text="Sender Name:"></asp:Label>
                                </td>
                                <td style="text-align: left">
                                    <asp:TextBox ID="TextBox2" runat="server" Width="240px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 185px; text-align: right; height: 41px">
                                    <asp:Label ID="Label7" runat="server" Text="Phone:"></asp:Label>
                                </td>
                                <td style="text-align: left; height: 41px">
                                    <asp:TextBox ID="TextBox3" runat="server" Width="239px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 185px; text-align: right">
                                    <asp:Label ID="Label8" runat="server" Text="Address:"></asp:Label>
                                </td>
                                <td style="text-align: left">
                                    <asp:TextBox ID="TextBox4" runat="server" BackColor="White" BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="1px" TextMode="MultiLine" Width="250px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 185px; text-align: right">
                                    <asp:Label ID="Label9" runat="server" Text="City:"></asp:Label>
                                </td>
                                <td style="text-align: left">
                                    <asp:DropDownList ID="DropDownList1" runat="server" Width="205px">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                        </table>
                    <table style="width: 100%;">
                        <tr>
                            <td colspan="2" style="text-align: left">
                                <asp:Label ID="Label10" runat="server" Font-Bold="True" Text="Receiver Information"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label11" runat="server" Text="Receiver Name:"></asp:Label>
                            </td>
                            <td style="text-align: left">
                                <asp:TextBox ID="TextBox5" runat="server" Width="240px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label12" runat="server" Text="Phone:"></asp:Label>
                            </td>
                            <td style="text-align: left">
                                <asp:TextBox ID="TextBox6" runat="server" Width="240px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox6" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label13" runat="server" Text="Address:"></asp:Label>
                            </td>
                            <td style="text-align: left">
                                <asp:TextBox ID="TextBox7" runat="server" BackColor="White" BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="1px" TextMode="MultiLine" Width="250px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox7" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label14" runat="server" Text="City:"></asp:Label>
                            </td>
                            <td style="text-align: left">
                                <asp:DropDownList ID="DropDownList2" runat="server" BackColor="#CCCCCC" Width="205px">
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                    <table style="width: 100%;">
                        <tr>
                            <td colspan="3" style="text-align: left">
                                <asp:Label ID="Label15" runat="server" Font-Bold="True" Text="Mail/Delivery/Fee"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label16" runat="server" Text="Mail / Delivery Code:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:TextBox ID="TextBox8" runat="server" Width="240px"></asp:TextBox>
                            </td>
                            <td style="text-align: left">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBox8" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label17" runat="server" Text="Weight:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:TextBox ID="TextBox9" runat="server" Width="240px"></asp:TextBox>
                            </td>
                            <td style="text-align: left">
                                <asp:Label ID="Label26" runat="server" Text="[KG]"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBox9" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label18" runat="server" Text="Description:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:TextBox ID="TextBox18" runat="server" BackColor="White" BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="1px" TextMode="MultiLine" Width="250px"></asp:TextBox>
                            </td>
                            <td style="text-align: left">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TextBox18" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label19" runat="server" Text="Service Type:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:DropDownList ID="DropDownList4" runat="server" BackColor="#CCCCCC" Width="205px">
                                </asp:DropDownList>
                            </td>
                            <td style="text-align: left">&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label20" runat="server" Text="From Branch:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:DropDownList ID="DropDownList5" runat="server" BackColor="#CCCCCC" Width="205px">
                                </asp:DropDownList>
                            </td>
                            <td style="text-align: left">&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label21" runat="server" Text="To Branch:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:DropDownList ID="DropDownList6" runat="server" BackColor="#CCCCCC" Width="205px">
                                </asp:DropDownList>
                            </td>
                            <td style="text-align: left">
                                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/ObjectTwo/images/calculate-32.png" />
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label22" runat="server" Text="Distance:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:TextBox ID="TextBox10" runat="server" Width="240px"></asp:TextBox>
                            </td>
                            <td style="text-align: left">
                                <asp:Label ID="Label29" runat="server" Text="[KM]"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="TextBox10" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label23" runat="server" Text="Fee Charge:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:TextBox ID="TextBox11" runat="server" Width="240px"></asp:TextBox>
                            </td>
                            <td style="text-align: left">
                                <asp:Label ID="Label28" runat="server" Text="[$] "></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TextBox11" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label24" runat="server" Text="Total Paid:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:TextBox ID="TextBox12" runat="server" Width="240px"></asp:TextBox>
                            </td>
                            <td style="text-align: left">
                                <asp:Label ID="Label27" runat="server" Text="[$]"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="TextBox12" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 185px">
                                <asp:Label ID="Label25" runat="server" Text="Return Back:"></asp:Label>
                            </td>
                            <td style="text-align: left; width: 224px">
                                <asp:TextBox ID="TextBox13" runat="server" Width="240px"></asp:TextBox>
                            </td>
                            <td style="text-align: left">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="TextBox13" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td style="text-align: center" colspan="2">
                    <asp:Panel ID="Panel2" runat="server">
                        <table style="width:100%;">
                            <tr>
                                <td colspan="3" style="text-align: left">
                                    <asp:Label ID="Label30" runat="server" Font-Bold="True" Text="Is Delivery Internal Information"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label31" runat="server" Text="Mail / Delivery Code:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:TextBox ID="TextBox14" runat="server" Width="240px"></asp:TextBox>
                                </td>
                                <td style="text-align: left">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="TextBox14" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label32" runat="server" Text=" Weight:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:TextBox ID="TextBox15" runat="server" Width="240px"></asp:TextBox>
                                </td>
                                <td style="text-align: left">
                                    <asp:Label ID="Label39" runat="server" Text="[KG]"></asp:Label>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="TextBox15" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label33" runat="server" Text="Description:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:TextBox ID="TextBox19" runat="server" BackColor="White" BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="1px" TextMode="MultiLine" Width="250px"></asp:TextBox>
                                </td>
                                <td style="text-align: left">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ControlToValidate="TextBox19" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label34" runat="server" Text="Service Type:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:DropDownList ID="DropDownList7" runat="server" BackColor="#CCCCCC" Width="205px">
                                    </asp:DropDownList>
                                </td>
                                <td style="text-align: left">&nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label35" runat="server" Text="From Branch:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:DropDownList ID="DropDownList8" runat="server" BackColor="#CCCCCC" Width="205px">
                                    </asp:DropDownList>
                                </td>
                                <td style="text-align: left">&nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label36" runat="server" Text="To Branch:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:DropDownList ID="DropDownList9" runat="server" BackColor="#CCCCCC" Width="205px">
                                    </asp:DropDownList>
                                </td>
                                <td style="text-align: left">
                                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/ObjectTwo/images/calculate-32.png" />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label37" runat="server" Text="Distance:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:TextBox ID="TextBox16" runat="server" Width="239px" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td style="text-align: left">
                                    <asp:Label ID="Label40" runat="server" Text="[KM]"></asp:Label>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="TextBox16" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right; width: 184px">
                                    <asp:Label ID="Label38" runat="server" Text="Fee Charge:"></asp:Label>
                                </td>
                                <td style="width: 245px; text-align: left">
                                    <asp:TextBox ID="TextBox17" runat="server" Width="240px" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td style="text-align: left">
                                    <asp:Label ID="Label41" runat="server" Text="[$]"></asp:Label>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ControlToValidate="TextBox17" ErrorMessage="Not Blank!" ForeColor="Red"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td style="width: 185px; text-align: right">
                    &nbsp;</td>
                <td style="text-align: left">&nbsp;</td>
            </tr>
            <tr>
                <td style="height: 41px; text-align: left;" colspan="2">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/ObjectTwo/images/create_with_plus_mail_layer-64.png" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
                    <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/ObjectTwo/images/cancel_delete_remove_stop-64.png" CausesValidation="False" />
                </td>
            </tr>
        </table>

        <br />

    </div>
</asp:Content>
